Skip to content

Conversation

mibali
Copy link
Contributor

@mibali mibali commented Aug 26, 2025

This PR uses RunLLM as the Doc asssistant

Pull Request approval

You will need to get your PR approved by at least one member of the Sourcegraph team. For reviews of docs formatting, styles, and component usage, please tag the docs team via the #docs Slack channel.

mibali and others added 2 commits August 26, 2025 16:49
- Removed @langbase/components and langbase dependencies
- Removed custom chat components and API routes
- Added runLLM widget via Next.js Script component in layout.tsx
- Configured runLLM with Sourcegraph brand styling
- Added AGENTS.md with integration documentation
- Assistant ID placeholder needs to be updated with actual ID

Co-authored-by: Amp <[email protected]>
Amp-Thread-ID: https://ampcode.com/threads/T-92230f6d-ca98-498f-8898-bffc173575ef
Copy link

vercel bot commented Aug 26, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
sourcegraph-docs Ready Ready Preview Comment Aug 28, 2025 10:25am

- Removed problematic brand logo URL that may have caused loading issues
- Fixed button text from 'Ask Ai' to 'Ask AI'
- Simplified configuration for better compatibility
- Removed package-lock.json (using pnpm-lock.yaml instead)

Co-authored-by: Amp <[email protected]>
Amp-Thread-ID: https://ampcode.com/threads/T-92230f6d-ca98-498f-8898-bffc173575ef
- Added runllm-brand-logo with Sourcegraph pictogram
- Updated crossOrigin attribute for better compatibility
- Added version='stable' for consistent widget behavior
- Restored Next.js Script import and component
- Changed from plain HTML script to optimized Next.js Script
- Updated crossOrigin to empty string for Next.js compatibility
- Maintains all runLLM widget functionality with better performance
@mibali mibali merged commit 146bd23 into main Aug 29, 2025
5 checks passed
@mibali mibali deleted the docrunllm branch August 29, 2025 10:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants